package com.xdf.xzymanagementsystem.config;

import org.apache.shiro.authc.UsernamePasswordToken;

public class MyUsernamePasswordToken extends UsernamePasswordToken {
    private String userPhone;

    public String getUserPhone() {
        return userPhone;
    }

    public void setUserPhone(String userPhone) {
        this.userPhone = userPhone;
    }

    public MyUsernamePasswordToken() {
    }

    public MyUsernamePasswordToken(String username,String password,String userPhone) {
        super(username,password);
        this.userPhone = userPhone;
    }

    @Override
    public String toString() {
        return "MyUsernamePasswordToken{" +
                "userPhone='" + userPhone + '\'' +
                '}';
    }
}
